<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

	<ui:composition template="/pages/template/admin_main.xhtml">
	
		<ui:define name="title">
		    تكوين - الأدمن
		</ui:define>
		
		<div class="content">
		
			<ui:define name="content">
				
				<h:form id="f1" dir="ltr" style="text-align:center;">
					<p:messages />
					
					<p:growl id="msgs" showDetail="true" />  
  
				    <h:panelGrid columns="3" style="text-align:center;">  
				        <p:tree id="tree1" value="#{pagesBean.root}" var="node"  selectionMode="single" selection="#{pagesBean.selectedNode}"   
				                draggable="true" droppable="true" dragdropScope="demo">  
				            
				            <p:treeNode>  
				                <h:outputText value="#{node}" />  
				            </p:treeNode>  
				        </p:tree>  
				  
				        <p:graphicImage alt="Transfer" url="/resources/images/transfer.png" />  
				  
				        <p:tree id="tree2" value="#{pagesBean.root2}" var="node" selectionMode="single" selection="#{pagesBean.selectedNode2}"   
				                draggable="true" droppable="true" dragdropScope="demo">  
				            
				            <p:treeNode>  
				                <h:outputText value="#{node}" />  
				            </p:treeNode>  
				        </p:tree>  
				    </h:panelGrid> 
					
				</h:form>
			
			</ui:define>
		</div>
	</ui:composition>
</html>